package com.hxzy.shop.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 积分消费记录(PointConsumerRecord)实体类
 *
 * @author makejava
 * @since 2022-09-01 17:22:53
 */
@Data
public class PointConsumerRecord implements Serializable {
    private static final long serialVersionUID = -39939083767480117L;
    /**
     * 积分消费记录d
     */
    @TableId
    private Long id;
    /**
     * 会员id
     */
    private Long memberId;
    /**
     * 消费积分
     */
    private Integer point;
    /**
     * 创建时间
     */
    private Date createTime;
    /**
     * 积分兑换记录id
     */
    private Long pointExchangeRecordId;
    /**
     * 商户id
     */
    private Long merchantId;
    /**
     * 订单ID
     */
    private Long orderId;
    /**
     * 消费类型(1优惠券 2商品 3系统扣减)
     */
    private Integer consumerType;

}

